<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<table width="100%"  border="0" cellpadding="0" cellspacing="0" >
  <tr> 
    <td scope="col" >&nbsp;</td>
    <td colspan="7" align="right" scope="col" > <script language=JavaScript>
		  mydate = new Date();
		  myday = mydate.getDay();
		  mymonth = mydate.getMonth();
		  myweekday= mydate.getDate();
		  myyear = mydate.getYear();
      weekday= myweekday; 
		  
		  if(myday == 0)
		  day = " Domingo, " 
		  else if(myday == 1)
		  day = " Lunes, " 
		  else if(myday == 2)
		  day = " Martes, " 
		  else if(myday == 3)
		  day = " Miercoles, " 
		  else if(myday == 4)
		  day = " Jueves, " 
		  else if(myday == 5)
		  day = " Viernes, " 
		  else if(myday == 6)
		  day = " S&aacute;bado, " 
		  if(mymonth == 0)
		  month = "Enero " 
		  else if(mymonth ==1)
		  month = "Febrero " 
		  else if(mymonth ==2)
		  month = "Marzo " 
		  else if(mymonth ==3)
		  month = "Abril " 
		  else if(mymonth ==4)
		  month = "Mayo " 
		  else if(mymonth ==5)
		  month = "Junio " 
		  else if(mymonth ==6)
		  month = "Julio " 
		  else if(mymonth ==7)
		  month = "Agosto " 
		  else if(mymonth ==8)
		  month = "Septiembre " 
		  else if(mymonth ==9)
		  month = "Octubre " 
		  else if(mymonth ==10)
		  month = "Noviembre " 
		  else if(mymonth ==11)
		  month = "Diciembre " 
		  document.write("<b><font face=arial, size=2 px, color=#000066>"+ day);
		  document.write(myweekday+" de "+month+ " de "+ myyear +"</font>");
    </script></td>
    <td scope="col" >&nbsp;</td>
  </tr>
  <tr> 
    <td height="10" colspan="9" scope="col" ></td>
  </tr>
  <tr> 
    <td scope="col" ><div align="left" class="Usuario"><b>Usuario Activo: <bean:write name="userInfo" property="name" /> 
        &nbsp;</b></div></td>
    <td width="10" scope="col" >&nbsp;</td>
    <td width="100" scope="col" ><div align="center"></div></td>
    <td width="10" scope="col" >&nbsp;</td>
    <td width="66" valign="bottom" scope="col" ><div align="center"></div></td>
    <td width="10" scope="col" >&nbsp;</td>
    <td width="71" scope="col" ><div align="center"><html:link page="/logout.do"><img src="<%= request.getContextPath() + "/images/b_salir.gif" %>" width="20" height="22" border="0" align="absbottom"></html:link>        <br>
        <span class="celdaayd">Salir</span></div></td>
    <td width="21" scope="col" >&nbsp;</td>
  </tr>
  <tr bgcolor="#000066"> 
    <td height="2" colspan="9" scope="col"></td>
  </tr>
</table>
